package com.ydd.app.dao;


import java.util.List;

import com.ydd.app.bean.common.CustomerBean;
import com.ydd.app.bean.common.EmployeesBean;
import com.ydd.app.bean.input.CreteUserRequest;
import com.ydd.app.bean.input.CustomerAccountRequest;

public interface AccountDao {

	public String queryEmployeesToken(final String account);
	
	public String queryCustomerToken(final String account);
	
	public EmployeesBean queryEmployeesByAccount(final String account);
	
	public CustomerBean queryCustomerByAccount(final String account);
	
	public CustomerBean queryCustomerById(final String userId);
	
	public boolean updateTokenForEmployees(final String account,final String token);
	
	public boolean updateTokenForCustomer(final String account,final String token);
	
	public boolean userAccount(final CustomerAccountRequest request);
	
	public List<CustomerBean> queryAllCustomers();
	
	public boolean isInDispaly(final String userId);
	
	public boolean creteUser(final CreteUserRequest request);
	
	
}
